package org.locker.domain.vo;

import java.math.BigDecimal;
import org.locker.domain.User;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 用户视图对象 lk_user
 *
 * @author winnie
 * @date 2023-10-11
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = User.class)
public class UserVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 用户编号
     */
    @ExcelProperty(value = "用户编号")
    private String userNo;

    /**
     * 昵称
     */
    @ExcelProperty(value = "昵称")
    private String nickname;

    /**
     * 手机号码
     */
    @ExcelProperty(value = "手机号码")
    private String phone;

    /**
     * openID
     */
    @ExcelProperty(value = "openID")
    private String openId;

    /**
     * 头像地址
     */
    @ExcelProperty(value = "头像地址")
    private String iconUrl;

    /**
     * 真实姓名
     */
    @ExcelProperty(value = "真实姓名")
    private String realName;

    /**
     * 身份证号
     */
    @ExcelProperty(value = "身份证号")
    private String cardNo;

    /**
     * 用户余额
     */
    @ExcelProperty(value = "用户余额")
    private BigDecimal balanceAmount;

    /**
     * 冻结余额
     */
    @ExcelProperty(value = "冻结余额")
    private BigDecimal freezeAmount;

    /**
     * 提现金额
     */
    @ExcelProperty(value = "提现金额")
    private BigDecimal withdrawAmount;

    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    private String describe;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


    private String latestOrderNo;


}
